# -*- coding: utf-8 -*-

from server import app
from logging import getLogger
from app.enum.app import LoggerEnum
import tushare as ts

ts.set_token(app.config['TUSHARE_API_TOKEN'])
pro_api = ts.pro_api()

server_logger = getLogger(LoggerEnum.SERVER)
exception_logger = getLogger(LoggerEnum.EXCEPTION)
